package com.qijia.common.service.impl;

import java.util.List;

import com.qijia.common.dao.ResourceDAO;
import com.qijia.common.domain.Resource;
import com.qijia.common.service.ResouceService;

public class ResouceServiceImpl implements ResouceService {
	
	private ResourceDAO resourceDao = null;

	public void setResourceDao(ResourceDAO resourceDao) {
		this.resourceDao = resourceDao;
	}

	public List<Resource> findByRoleID(Integer roleId) {
		return resourceDao.findResourceByRoleId(roleId);
	}
}
